#!/bin/bash
a=find
IS_someone=`who | grep $a`
while [ -z "$IS_someone" ]
do
  sleep 3
  IS_someone=`who | grep $a`
done
echo "watch it,$a is online!" | wall
